public class Course {
    private String courseId;    // 课程编号
    private String courseName;  // 课程名称
    private String classRoom;   // 上课教室
    private String courseTime;  // 上课时间
    private int credit;         // 课程学分
    private String teacherId;   // 关联授课教师编号
    public Course(String courseId, String courseName, String classRoom, String courseTime, int credit, String teacherId) {
        this.courseId = courseId;
        this.courseName = courseName;
        this.classRoom = classRoom;
        this.courseTime = courseTime;
        this.credit = credit;
        this.teacherId = teacherId;
    }
    public String getCourseId() { return courseId; }
    public String getCourseName() { return courseName; }
    public String getClassRoom() { return classRoom; }
    public String getCourseTime() { return courseTime; }
    public int getCredit() { return credit; }
    public String getTeacherId() { return teacherId; }
}